import instance from '@/request/request'

export const UserStatistics=(num)=>{
  return instance({
    url: `/api/statistic/user/${num}`,
    method:'get'
  })
}

export const ExpertStatistics=(num)=>{
  return instance({
    url: `/api/statistic/expert/${num}`,
    method:'get'
  })
}
export const ProjectStatistics=(num)=>{
  return instance({
    url: `/api/statistic/project/${num}`,
    method:'get'
  })
}
export const ExtractStatistic=(num)=>{
  return instance({
    url: `/api/statistic/extract/${num}`,
    method:'get'
  })
}
export const initHomeCount=()=>{
  return instance({
    url: `/api/statistic/homeStatistic`,
    method:'get'
  })
}
